﻿using _2112A_2_MES._wangweihao;
using _2112A_2_MES._XiangHe;
using _2112A_2_MES.SuJiaHaos.WareHouse;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Test.WangWeiHao;
using Volo.Abp.Application.Services;

namespace _2112A_2_MES.SuJiaHaos
{
    /// <summary>
    /// 仓库设置服务接口
    /// </summary>
    public interface IWarehouseService : IApplicationService
    {
        /// <summary>
        /// 获取仓库设置
        /// </summary>
        /// <param name="warehouseCode">仓库编码</param>
        /// <param name="warehouseName">仓库名称</param>
        /// <returns>返回仓库设置的泛型集合</returns>
        Task<ReturnSelect<object>> GetWmWarehouseList(string? warehouseCode,string? warehouseName, int pageSize, int pageIndex);

        /// <summary>
        /// 仓库信息添加
        /// </summary>
        /// <param name="input">仓库实体</param>
        /// <returns></returns>
        Task<int> GetCreateWmWarehouse(CreateWareHuoseDTO input);

        /// <summary>
        /// 仓库信息删除
        /// </summary>
        /// <param name="id">条件编号</param>
        /// <returns>返回受影响行数</returns>
        Task<int> DeleteWmWarehouse(int id);

        /// <summary>
        /// 仓库信息反填
        /// </summary>
        /// <param name="id">条件编号</param>
        /// <returns>返回客户信息实体</returns>
        Task<WmWarehouse> GetWmWarehouse(int id);

        /// <summary>
        /// 仓库信息修改
        /// </summary>
        /// <param name="input">仓库实体</param>
        /// <returns>返回受影响行数</returns>
        Task<int> UpdateWmWarehouse(CreateWareHuoseDTO input);

    }
}
